[XSM] missing entries to xsm_fixup_ops
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 14 Apr 2009 10:18:37 +0000 (11:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 14 Apr 2009 10:18:37 +0000 (11:18 +0100)
This patch adds the missing presence checks for the pm_op and
get_pmstat hooks in xsm_fixup_ops.

Signed-off-by: George S. Coker, II <gscoker@alpha.ncsc.mil>
xen/xsm/dummy.c

index b6ac73a14740d8850c016ed9264a0e55d57c6870..9716f941cf92c3df192e5f876e82f2f2a86039f5 100644 (file)
@@ -502,6 +502,8 @@ void xsm_fixup_ops (struct xsm_operations *ops)
     set_to_dummy_if_null(ops, perfcontrol);
     set_to_dummy_if_null(ops, debug_keys);
     set_to_dummy_if_null(ops, getcpuinfo);
+    set_to_dummy_if_null(ops, pm_op);
+    set_to_dummy_if_null(ops, get_pmstat);
     set_to_dummy_if_null(ops, availheap);
 
     set_to_dummy_if_null(ops, evtchn_unbound);